package com.tengju.data.infrastructure.persistence.mybatis.mapper.clickhouse.user;

import com.tengju.data.infrastructure.persistence.mybatis.dataobject.DwsCrmSpuGmvDetailSumGmvDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: 李大仙
 * @Date: 2021/5/6 5:25 下午
 */
public interface DwsCrmSpuGmvDetailMapper {

    List<DwsCrmSpuGmvDetailSumGmvDO> querySumGmvList(@Param("dominationLevel") Integer dominationLevel,
                                                     @Param("idCodes") List<Long> idCodes,
                                                     @Param("visitDates") List<String> visitDates,
                                                     @Param("months") List<Integer> months);

    int querySumGmvPageTotal(@Param("dominationLevel") Integer dominationLevel,
                             @Param("idCodes") List<Long> idCodes,
                             @Param("visitDates") List<String> visitDates);
}
